package ${packageName};

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.mybatis.spring.annotation.MapperScan;

/**
 * ${tableComment!''} CRUD项目启动类
 * 
 * @author ${author}
 * @date ${.now?string("yyyy-MM-dd HH:mm:ss")}
 */
@SpringBootApplication
@MapperScan("${packageName}.mapper")
public class ${className}Application {

    public static void main(String[] args) {
        SpringApplication.run(${className}Application.class, args);
        System.out.println("\n========================================");
        System.out.println("🎉 ${tableComment!''} CRUD项目启动成功！");
        System.out.println("📖 Swagger文档地址: http://localhost:8080/swagger-ui.html");
        System.out.println("🔗 API接口地址: http://localhost:8080/api/${tableName?lower_case}");
        System.out.println("========================================\n");
    }
}